|
|
|
An <input> tag used for a text entry box has these attributes:
NOTE: See Chapter 7: Web Browser for 9620 and 9630 IP Telephones and
Chapter 9: Advanced Features for specific information on the <input>, <title>, <value>, and <ivalue> tags.
Here is how the user experiences a value versus a non-value during text entry:
For the tag <input title=”Hello there”/> - The text box displays [Enter text here] as a default. No value is present, meaning the user has not entered text in the text box. Upon text entry, the value equals the typed-in text, and the “Enter Text here” prompt no longer displays.
For the tag <input title=Hello there” value=”Fill in the blanks”/> - The text box displays [Fill in the blanks]. The cursor is positioned after the “s” in “blanks.” In this example, “Fill in the blanks” always appears at the beginning of the text box, regardless of what the user enters. This is contrary to the situation above where no value was specified in the <input title> string and the prompt [Enter text here] no longer displays after the user types the first character.
If a new attribute value is defined, the attribute takes precedence over ivalue. For the tag
<input title=”Hello there” ivalue=”Enter name here”/> - the text box displays [Enter name here] and the attribute value takes precedence over ivalue. When the user enters text, the value now equals the typed-in text. The prompt “Enter name here” no longer displays and the text the user entered remains in the text box.
|
|
|